/*
 * ServicoTarefa.java
 *
 * Created on 15 de Novembro de 2007, 20:41
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package br.com.sgpa.servico;

import br.com.sgpa.dominio.Colaborador;
import br.com.sgpa.dominio.Projeto;
import br.com.sgpa.dominio.Tarefa;
import java.util.List;

/**
 *
 * @author Leandro
 */
public interface ServicoTarefa {
    void criarTarefa(Tarefa tarefa);
    void salvarTarefa(Tarefa tarefa);
    void desativarTarefa(Tarefa tarefa);
    Tarefa carregarTarefa(Tarefa tarefa);
    List<Tarefa> listarTarefas(Projeto proj);
    List<Tarefa> listarTarefas(Colaborador executor);
}
